Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error message when CMake is not found #309

Merged

Conversation

johningve
Copy link
Contributor

No description provided.

@johningve johningve requested a review from a team as a code owner December 10, 2024 10:23
raise RuntimeError(
_make_message_box(
"!! CMake not found !!",
"Ensure PIP is updated to the latest version to handle build dependencies automatically,",
Copy link
Contributor

@apartridge apartridge Dec 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I would consider to prefix this with "Tip:" and maybe some blank lines before and after just so this part is more visibile. Often people get overwhelmed by long error messages and won't see the tips/solution.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will look like this:
image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@johningve johningve merged commit ef72b65 into master Dec 10, 2024
23 checks passed
@johningve johningve deleted the MISC-2024-12-10-improve-cmake-not-found-error-message branch December 10, 2024 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants